package com.huawei.rbac.service;

import com.huawei.rbac.domain.Employee;
import com.huawei.rbac.query.EmployeeQueryObject;
import com.huawei.rbac.result.PageResult;

import java.util.List;

public interface IEmployeeService {

    void saveOrUpdate(Employee entity,Long[] roleIds);

    void delete(Long id);

    Employee get(Long id);

    List<Employee> listAll();

    PageResult<Employee> query(EmployeeQueryObject qo);

    // 登录方法
    void login(String name, String password);
}
